<style>
body{
	overflow-x:hidden;
}
</style>
	<div class="ui-portlet">
			<ol class="breadcrumb">
			  <li><a href="/users/index"><i class="fa fa-home"></i>&nbsp;&nbsp;{{__('Personal Center')}}</a></li>
			  <li class="active">编辑客户信息</li>
			</ol>
		</div>           
       <hr>

<?php 
$bot_id = $this->data['BotGroup']['bot_id'] ? $this->data['BotGroup']['bot_id'] : $_REQUEST['bot_id'];
 ?>

{{$this->Form->create('BotGroup',array('class'=>'form-horizontal','role'=>'form'))}}
	<div class="form-group">
		<label class="col-sm-2 control-label" for="BotGroupName">群名</label>
		<div class="col-sm-9 controls">
			{{$this->Form->hidden('id')}}
			{{$this->Form->input('name',array('label'=>false,'div'=>false,'class'=>'form-control'))}}
			{{if $_REQUEST['bot_id']}}
				{{$this->Form->hidden('bot_id',array('value'=>$_REQUEST['bot_id']))}}
			{{/if}}

			<input type="hidden" name='referer' value='/bots/view/{{$bot_id}}'>
		</div>
	</div>

<div class="form-group">
	<label class="col-sm-2 control-label" for="BotGroupName">群主用户编号</label>
	<div class="col-sm-9 controls">
		{{$this->Form->input('creator',array('label'=>false,'div'=>false,'class'=>'form-control'))}}
	</div>
</div>
<div class="form-group">
	<label class="col-sm-2 control-label" for="WxActivitySummary">群主微信昵称</label>
	<div class="col-sm-9 controls">
		{{$this->Form->input('BotGroup.username',array('class'=>'form-control','div'=>false,'label'=>false,))}}
		<p>群活动管理员微信昵称</p>
	</div>
</div>

	
	
	<div class="form-group">
		<label class="col-sm-2 control-label" for="BotGroupName"></label>
		<div class="col-sm-9"><input class="btn btn-primary" type="submit" value="提交"></div>
	</div>
</form>
